package com.example.administrator.baikangxing.bean;

import java.util.Date;

/**
 * Created by Sushil_Shen on 2017/5/22/0022.
 * Contact: Sushil_shen@163.com
 */

public class Recorder {
    private float audioLength;
    private String filePath;
    private Date time;
    private Type type;
    public enum Type{
        comeVoice,outVoice
    }

    public Recorder(float audioLength, String filePath, Date time, Type type) {
        this.audioLength = audioLength;
        this.filePath = filePath;
        this.time = time;
        this.type = type;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public float getAudioLength() {
        return audioLength;
    }

    public void setAudioLength(float audioLength) {
        this.audioLength = audioLength;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
